package com.t2t.top;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 *
 * @SpringBootApplication 声明让SpringBoot自动给程序进行必要的配置
 *
 * 等价于以默认属性使用 @Configuration @EnableAutoConfiguration @ComponentScan
 *
 * 所以大家不要被一些文档误导了，让自己很迷茫了，希望本文章对您有所启发；
 *
 */
@SpringBootApplication
public class Application  {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}